﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PmSoft.PetaPoco.Extend
{
	public interface IDbContextTransaction
	{
		/// <summary>
		/// 开始事务
		/// </summary>
		void Begin();
		/// <summary>
		/// 完成事务
		/// </summary>
		void Complete();
		/// <summary>
		/// 回滚事务
		/// </summary>
		void Abort();
	}
}
